#ifndef __TE_LOCAL_H
#define __TE_LOCAL_H

#include "z_global_includes.h"
#include "te_imports.h"
#include "te_GameEngine.h"
#include "te_EventManager.h"
#include "te_Renderer.h"
#include <assert.h>

#define PAK_EXTENSION	".pk3"
#define BASE_DIR		"base"
#define SEARCH_DIR		"."
#define SAVE_DIR		"."

#define GAME_NAME		"BaseEngine"
#define GAME_CONFIG		"baseconfig.cfg"

using namespace og;

extern CVar r_fullscreen;
extern CVar r_antialias;
extern CVar r_width;
extern CVar r_height;
extern CVar r_colorbits;
extern CVar r_stereoscopic;
extern CVar r_vsync;
extern CVar r_renderer;

extern CVar fs_game;
extern CVar fs_basepath;

extern void AddEngineCommands(void);
extern void RemoveEngineCommands(void);

char *COM_GetFileExtension ( const char *path );

#endif